package com.settlement.system.service;

import com.settlement.system.model.entity.SysLazyUserNotice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysLazyUserNoticeQuery;
import com.settlement.system.model.form.SysLazyUserNoticeForm;
import com.settlement.system.model.vo.SysLazyUserNoticeImportVo;
import java.util.List;

/**
 * <p>
 * 用户通知表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2024-01-05
 */
public interface SysLazyUserNoticeService extends IService<SysLazyUserNotice> {

    Page<SysLazyUserNotice> getPage(SysLazyUserNoticeQuery queryParams);

    boolean saveSysLazyUserNotice(SysLazyUserNoticeForm sysLazyUserNoticeForm);

    boolean saveSysLazyUserNotice(SysLazyUserNotice sysLazyUserNotice);

    SysLazyUserNoticeForm getSysLazyUserNoticeFormData(Long id);

    boolean deleteSysLazyUserNotice(String ids);

    void importData(List<SysLazyUserNoticeImportVo> importVos);

    List<SysLazyUserNoticeImportVo> findByIds(String idsStr);

    void readNotice(Long noticeId);

    long countUserUnRead(Long userId);
}
